package com.cskaoyan.javse.oop2._3review;

/**
 *
 *
 * @since 09:30
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Demo {
    public static void main(String[] args) {
        // new IA();
    }
}

class Father {
    public IA test(){
        // return new Father();
        return new A();
    }
}

class Son extends Father {
    @Override
    public A test() {
      return new A();
    }
}

interface IA{}
class A implements IA{}